package fanxinlianxi;

import javax.swing.*;
import java.util.ArrayList;
//泛型类的定义，结合Dox泛型类
public class FanXin02 {
    public static void main(String[] args) {
        Dox<String> box1 = new Dox<>();
        box1.setEmplease("11");
        String emplease = box1.getEmplease();
        System.out.println(emplease);

        Dox<Integer> dox2 = new Dox<>();
        dox2.setEmplease(111);
        Integer emplease1 = dox2.getEmplease();
        System.out.println(emplease1);


    }
}
